package com.test.dao;

import com.test.objects.Author;
import com.test.objects.Comment;
import com.test.objects.MyPageException;
import com.test.objects.Relation;

public interface MainDAO {
	public Comment[] getMostRecentComments(int authorId, int offset, int size);
	public int saveComment(Comment c) throws MyPageException;
	public Relation[] getRelation(int authorId, int min, int max);
	public Author getAuthor(int authorId);
	public boolean deleteComment(int cmtId) throws MyPageException;
}
